<template>
	<view class="align-center">
		<view class="" style="margin-top: 70rpx;">
			
			<uni-icons type="checkbox-filled" size="80" color="green" ></uni-icons>
			
			
		</view>
		
		<view style="margin-bottom: 70rpx;"><text style="color: green;">支付成功！</text></view>
		<view class="" style="margin-bottom: 20rpx;">{{sysName.departName}}</view>
		<view style="margin-bottom: 70rpx;"><text style="font-size: 60rpx;text-align: center;">￥{{signFee}}</text></view>
		
		
		<!-- 订单卡片 --> 
		<uni-section title="订单详情" type="line" >
			<uni-card title="订单详情" :thumbnail="avatar" :isFull="true">
				<view class="" >
									<text style="text-align: left;">报名项目：{{title}}</text>
									<view class="" ><text style="text-align: left;">报名人：{{name}}</text></view>
					</view>
			</uni-card>
			
		</uni-section>
		
		
		<view style="margin-top: 240rpx;">
			<button type="primary" class="confirm-btn" @click="goTo('/pages/index/index')" plain="true" style="width: 300rpx; height: 70rpx; line-height: 60rpx; text-align: center;">返回首页</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				signFee:'',
				title:'',
				name:'',
				sysName:null,
			
			}
		},
		methods: {
			goTo(url){
				uni.switchTab({
					url: '/pages/index/index',
				})
			}
		},
		onLoad:function(option){
			
			 this.apiurl = getApp().globalData.staticUrl
		     this.signFee = option.signFee
			 this.title = option.title
			 this.name = option.name
			 this.$http.get('/sys/sysDepart/api/queryDepartById',{'orgCode':getApp().globalData.orgCode}).then((res)=>{
			 	this.sysName=res.data.result
			 })
		}
	}
</script>

<style>

</style>
